package cupk.abner;

public class TextFile extends AbstractFile{
    public TextFile(String name) {
        this.name = name;
    }
    private String name;
    @Override
    public void add(AbstractFile file) {

    }

    @Override
    public void remove(AbstractFile file) {

    }

    @Override
    public AbstractFile getChild(int i) {
        return null;
    }

    @Override
    public void killVirus() {
        System.out.println("文本文件杀毒成功");
    }
}